Azure Maps Time Zone Service (preview:1.0)

2025/08/14 • 6 deleted methods

Timezone_GetTimezoneByID (removed)
Description __Time Zone by Id__ **Applies to**: S0 and S1 pricing tiers. This API returns current, historical, and future time zone information for the specified IANA time zone ID.
Reference Link ¶

⚼ Request

GET:  /timezone/byId/{format}
{
x-ms-client-id: string ,
subscription-key: string ,
api-version: string ,
Accept-Language: string ,
options: string ,
timeStamp: string ,
transitionsFrom: string ,
transitionsYears: integer ,
format: string ,
query: string ,
}

⚐ Response (200)

{
Version: string ,
ReferenceUtcTimestamp: string ,
TimeZones:
[
{
Id: string ,
Aliases:
[
string ,
]
,
Countries:
[
{
Name: string ,
Code: string ,
}
,
]
,
Names:
{
ISO6391LanguageCode: string ,
Generic: string ,
Standard: string ,
Daylight: string ,
}
,
ReferenceTime:
{
Tag: string ,
StandardOffset: string ,
DaylightSavings: string ,
WallTime: string ,
PosixTzValidYear: integer ,
PosixTz: string ,
}
,
RepresentativePoint:
{
Latitude: number ,
Longitude: number ,
}
,
TimeTransitions:
[
{
Tag: string ,
StandardOffset: string ,
DaylightSavings: string ,
UtcStart: string ,
UtcEnd: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (400)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (401)

{
$headers:
{
www-authenticate: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (404)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (500)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
Timezone_GetTimezoneByCoordinates (removed)
Description __Time Zone by Coordinates__ **Applies to**: S0 and S1 pricing tiers. This API returns current, historical, and future time zone information for a specified latitude-longitude pair. In addition, the API provides sunset and sunrise times for a given location.
Reference Link ¶

⚼ Request

GET:  /timezone/byCoordinates/{format}
{
x-ms-client-id: string ,
subscription-key: string ,
api-version: string ,
Accept-Language: string ,
options: string ,
timeStamp: string ,
transitionsFrom: string ,
transitionsYears: integer ,
format: string ,
query: string ,
}

⚐ Response (200)

{
Version: string ,
ReferenceUtcTimestamp: string ,
TimeZones:
[
{
Id: string ,
Aliases:
[
string ,
]
,
Countries:
[
{
Name: string ,
Code: string ,
}
,
]
,
Names:
{
ISO6391LanguageCode: string ,
Generic: string ,
Standard: string ,
Daylight: string ,
}
,
ReferenceTime:
{
Tag: string ,
StandardOffset: string ,
DaylightSavings: string ,
WallTime: string ,
PosixTzValidYear: integer ,
PosixTz: string ,
Sunrise: string ,
Sunset: string ,
}
,
RepresentativePoint:
{
Latitude: number ,
Longitude: number ,
}
,
TimeTransitions:
[
{
Tag: string ,
StandardOffset: string ,
DaylightSavings: string ,
UtcStart: string ,
UtcEnd: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (400)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (401)

{
$headers:
{
www-authenticate: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (404)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (500)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
Timezone_GetTimezoneEnumWindows (removed)
Description __Enumerate Windows Time Zones__ **Applies to**: S0 and S1 pricing tiers. This API returns a full list of Windows Time Zone IDs.
Reference Link ¶

⚼ Request

GET:  /timezone/enumWindows/{format}
{
x-ms-client-id: string ,
subscription-key: string ,
api-version: string ,
format: string ,
}

⚐ Response (200)

{
WindowsId: string ,
Territory: string ,
IanaIds:
[
string ,
]
,
}

⚐ Response (400)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (401)

{
$headers:
{
www-authenticate: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (404)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (500)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
Timezone_GetTimezoneEnumIANA (removed)
Description __Enumerate IANA Time Zones__ **Applies to**: S0 and S1 pricing tiers. This API returns a full list of IANA time zone IDs. Updates to the IANA service will be reflected in the system within one day.
Reference Link ¶

⚼ Request

GET:  /timezone/enumIana/{format}
{
x-ms-client-id: string ,
subscription-key: string ,
api-version: string ,
format: string ,
}

⚐ Response (200)

{
id: string ,
isAlias: boolean ,
aliasOf: string ,
hasZone1970Location: boolean ,
}

⚐ Response (400)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (401)

{
$headers:
{
www-authenticate: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (404)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (500)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
Timezone_GetTimezoneIANAVersion (removed)
Description __Time Zone IANA Version__ **Applies to**: S0 and S1 pricing tiers. This API returns the current IANA version number.
Reference Link ¶

⚼ Request

GET:  /timezone/ianaVersion/{format}
{
x-ms-client-id: string ,
subscription-key: string ,
api-version: string ,
format: string ,
}

⚐ Response (200)

{
version: string ,
}

⚐ Response (400)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (401)

{
$headers:
{
www-authenticate: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (404)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (500)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
Timezone_GetTimezoneWindowsToIANA (removed)
Description __Windows to IANA Time Zone__ **Applies to**: S0 and S1 pricing tiers. This API returns a corresponding IANA ID, given a valid Windows Time Zone ID. Multiple IANA IDs may be returned for a single Windows ID. It is possible to narrow these results by adding an optional territory parameter.
Reference Link ¶

⚼ Request

GET:  /timezone/windowsToIana/{format}
{
x-ms-client-id: string ,
subscription-key: string ,
api-version: string ,
format: string ,
query: string ,
territory: string ,
}

⚐ Response (200)

{
id: string ,
isAlias: boolean ,
aliasOf: string ,
hasZone1970Location: boolean ,
}

⚐ Response (400)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (401)

{
$headers:
{
www-authenticate: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (404)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}

⚐ Response (500)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
target: string ,
}
,
}